package com.lottery.game.core.modules.entity.app;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import springfox.documentation.annotations.ApiIgnore;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description TODO
 * @Classname BetRecordVO
 * @Date 2019/4/24 14:56
 * @Author liusc <liushicheng1993@vip.qq.com>
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "BetRecordVO",description = "交易记录ModelVO")
public class BetRecordVO {

    @ApiModelProperty(value = "类型(充值为支付方式,中奖下注撤单为期号)",example = "期号为20190424102940_2或者微信或者支付宝",required = false)
    private String titleType;

    @ApiModelProperty(value = "考虑后期需要详细信息的字段gameId",example = "789e5783722a49feb3962acea1ffcc45")
    private String gameId;

    @ApiModelProperty(value = "考虑后期需要详细信息的字段gameBetsId",example = "789e5783722a49feb3962acea1ffcc45")
    private String gameBetsId;

    @JsonIgnore
    @ApiModelProperty(value = "金钱改变值（除了title为1，bonus，cancelBet，songfen这几个为+，其他暂时为-)")
    private BigDecimal amount;

    @ApiModelProperty(value = "金钱改变值（除了title为1，bonus，cancelBet，songfen这几个为+，其他暂时为-)",example = "218")
    private String money;

    @ApiModelProperty(value = "时间",example = "2019-04-24")
    private String dateTime;

    @ApiModelProperty(value = "状态 对应 交易记录字典表api中的status列表）0:处理中,1:已完成,2:拒绝",example = "（对应 交易记录字典表api中的status列表）0:处理中,1:已完成,2:拒绝")
    private String recordStatus;

    @ApiModelProperty(value = "标志（只是用来区分不同表，不需要用到）",example = "")
    private String recordType;

    @ApiModelProperty(value = "标题（对应 交易记录字典表api中的betType列表）",example = "bet代表下注，2代表提现")
    private String title;

}
